const UserKey = 'KEY_USER_INFO';
const TokenKey = "KEY_TOKEN"

function updateUser(userData) {
	uni.setStorageSync(UserKey, userData);
}

function updateToken(token) {
	uni.setStorageSync(TokenKey, token);
}

function queryUser() {
	return uni.getStorageSync(UserKey);
}

function queryToken() {
	return uni.getStorageSync(TokenKey);
}